import * as request from '@/utils/request'

export function login(data) {
  return request.service.post('/admin/acl/index/login', data)
}

export function getInfo(token) {
  return request.service.get('/admin/acl/index/info', { params: { token } })
}

export function logout() {

  return request.service.post('/admin/acl/index/logout')
}
